package com.example.jpa.demo_jpa.repository;

import com.example.jpa.demo_jpa.model.AyUser;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

public interface AyUserRepository extends JpaRepository<AyUser,String> {
    List<AyUser> findByName(String name);
}
